package com.xundao.yxt.domain.service.impl;

import com.xundao.yxt.domain.model.User;
import com.xundao.yxt.domain.repository.UserRepository;
import com.xundao.yxt.domain.service.UserService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
@AllArgsConstructor
public class UserServiceImpl implements UserService {

    private final UserRepository userRepository;

    @Override
    public void updateLastLoginTime(User user) {
        userRepository.updateLastLoginTime( user);
    }
}
